package top.hiai.model.base;

import java.util.Date;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top,开发者：黄康权
* @Introduction 类的介绍
*/

@SuppressWarnings("serial")
public abstract class CommentBase<M extends CommentBase<M>> extends Model<M> implements IBean {

	public M setCid(java.lang.Integer cid) {
		set("cid", cid);
		return (M)this;
	}
	
	public java.lang.Integer getCid() {
		return getInt("cid");
	}
	
	public M setComment_date(Date comment_date) {
		set("comment_date", comment_date);
		return (M)this;
	}
	
	public Date getComment_date() {
		return getDate("comment_date");
	}
	
	public M setContent(java.lang.String content) {
		set("content", content);
		return (M)this;
	}
	
	public java.lang.String getContent() {
		return getStr("content");
	}
	
	public M setUser_id(java.lang.Integer user_id) {
		set("user_id", user_id);
		return (M)this;
	}
	
	public java.lang.Integer getUser_id() {
		return getInt("user_id");
	}
	
	public M setArticle_id(java.lang.Integer article_id) {
		set("article_id", article_id);
		return (M)this;
	}
	
	public java.lang.Integer getArticle_id() {
		return getInt("article_id");
	}
	
	public M setState(java.lang.Integer state) {
		set("state", state);
		return (M)this;
	}
	
	public java.lang.Integer getState() {
		return getInt("state");
	}
	
	
}
